
<!DOCTYPE html>
<html>

<head>
   
    
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--360浏览器优先以webkit内核解析-->


<title>经销商年度拜访报表</title>

<link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
<link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="__STATIC__/layout/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
<link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
<link href="__STATIC__/layout/css/channel.css?v=4.1.0" rel="stylesheet">
<!-- Sweet Alert -->
<link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">


    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <style>
  
    </style>

</head>

<body class="white-bg x_sorll" style="padding: 3px;font-size: 13px;">
    <div class="page-heade">
       <h2 class="title_color text-center">经销商年度拜访报表</h2>
    </div>
    <form action="" class="form-inline" id="form1">
        <table class="table table-bordered bud_hei">
              <tr>
                <td class="text-right">分区：</td>
                <td>
                    <select name="" id="" class="form-control">
                        <option value="0">请选择</option>
                    </select>
                </td>
                  <td class="text-right">省份：</td>
                <td>
                    <select name="" id="" class="form-control">
                        <option value="0">请选择</option>
                    </select>
                </td>
                  <td class="text-right">城市：</td>
                <td>
                    <select name="" id="" class="form-control">
                        <option value="0">请选择</option>
                    </select>
                </td>
              </tr>
              <tr>
                <td class="text-right">年度：</td>
                <td><input type="text" class="form-control" id="year" name=""></td>
                <td class="text-right">经销商：</td>
                <td colspan="3"><input type="text" class="form-control" name=""></td>
              </tr>
              <tr>
                 <td class="text-center" colspan="6">
                       <button class="btn-sm btn-info btn">查询</button><span class="lr_5"></span><button class="btn-sm btn-info btn" type="reset" id="reset">清空查询条件</button> 
                       <button class="btn btn-sm btn-info" type="button">导出Excel</button> 
                   </td>
              </tr>
        </table>
    </form>
    <table class="table table-striped table-bordered table-hover bud_hei text-center">
        <tr class="info">
          <td>分区</td>
          <td>省份</td>
          <td>城市</td>
          <td>经销商</td>
          <td>1月</td>
          <td>2月</td>
          <td>3月</td>
          <td>4月</td>
          <td>5月</td>
          <td>6月</td>
          <td>7月</td>
          <td>8月</td>
          <td>9月</td>
          <td>10月</td>
          <td>11月</td>
          <td>12月</td>
          <td class="trTotal2">年拜访次数</td>
        </tr>
        <tr>
          <td>东南大区</td>
          <td>福建省</td>
          <td>福州市</td>
          <td>安顺市西城区天金副食经销部</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td><a href="{:url('Other/allagencybf')}">2</a></td>
        </tr>
          <tr>
          <td>东南大区</td>
          <td>福建省</td>
          <td>福州市</td>
          <td>安顺市西城区天金副食经销部</td>
          <td>1</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td><a href="{:url('Other/allagencybf')}">4</a></td>
        </tr>
          <tr>
          <td>东南大区</td>
          <td>福建省</td>
          <td>福州市</td>
          <td>安顺市西城区天金副食经销部</td>
          <td>0</td>
          <td>0</td>
          <td>1</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td>0</td>
          <td><a href="{:url('Other/allagencybf')}">0</a></td>
        </tr>
    </table>
   <!--  <h5 class="text-center"  style="font-size: 13px;font-weight: 500">
                    总共有12条记录，第1/2页,当前页<input id="page" type="text"  style="width: 40px" value="1"/><span id="gopage">Go</span>&nbsp;&nbsp;<span id="fistpage">首页</span>&nbsp;&nbsp;
                    每页显示
                    <select id="pagesize">
                        <option value='10' selected>10条</option>
                        <option value='15'>15条</option>
                        <option value='20'>20条</option>

                    </select>
                </h5> -->
 <!--    <h3 class="text-center"><img src="__STATIC__/layout/img/zwsj.png"></h3> -->

<!-- 全局js -->
<script src="__STATIC__/layout/js/jquery.min.js"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Sweet alert -->
<script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
   <script src="__STATIC__/layout/js/plugins/laydate/laydate.js"></script>
  <script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script>
    $(function () {
        $('body').on('click','input[type=text]',function () {
            this.select()
        })
    })
</script>
<script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
<script>
     laydate.render({
         elem: '#year',
         type: 'year'
      });
    $(document).ready(function () {
        var bgTd =$("table tbody tr td");
         bgTd.each(function(){
            if($(this).text()=='0'){
                $(this).css('backgroundColor','red');
            }
         })

        $('#reset').on('click',function () {
            $("#form1 input").each(function(){
                $(this).val('');
            });
            $("#form1 select").each(function(){
                $(this).val('');
            });
            $('#form1').submit()
            return false
        })
    })   

</script>
</body>

</html>